home *** CD-ROM | disk | FTP | other *** search
-
-
-
- DITROFF User Commands DITROFF
-
-
-
- NNAAMMEE
- ditroff - text formatting and typesetting
-
- SSYYNNOOPPSSIISS
- ddiittrrooffff [ option ] ... [ file ] ...
-
- DDEESSCCRRIIPPTTIIOONN
- _D_i_t_r_o_f_f formats text in the named _f_i_l_e_s for printing on the
- printer selected. Different output devices may be selected
- with the environment variables TYPESETTER and PRINTER or
- with the -P option. Output will be processed as specified
- in the _d_i_t_c_a_p file, for the particular printer selected.
- The companion preprocessors, pic, ideal, deqn, tbl and grn
- all accept the TYPESETTER and PRINTER environment variables,
- have the -P option, and access the ditcap file. _T_r_o_f_f''ss
- capabilities are described in the _N_r_o_f_f/_T_r_o_f_f _u_s_e_r'_s _m_a_n_u_a_l.
-
- It is a good idea to specify a printer using one of the
- environment variables (PRINTER or TYPESETTER), or by using
- the --PP_p_r_i_n_t_e_r option for ditroff and each of its preproces-
- sors. This is advisable since each preprocessor selects a
- different default device if none is specified. The device
- independent troff (troff_p) and its associated preprocessors
- (eqn, grn, tbl, ideal, pic, ...) access the environment
- variables (TYPESETTER and PRINTER), support the --PP_p_r_i_n_t_e_r
- option, and access the _d_i_t_c_a_p file when processing troff
- files.
-
- If no _f_i_l_e argument is present, the standard input is read.
- An argument consisting of a single minus (--) is taken to be
- a file name corresponding to the standard input. The
- options are:
-
- Troff options:
-
- --PP_d_e_v Prepare output for typesetter _d_e_v. If no printer is
- specified, the default is the Laser Writer (lw).
- The environment variable PRINTER will override the
- default, and the environment variable TYPESETTER
- overrides PRINTER. A -P option will override all
- else. The _d_i_t_c_a_p file is searched for this printer,
- and the printer type and other options are set from
- this file.
-
- --TT_t_y_p Change the printer type to _t_y_p , and don't read the
- printer type from the ditcap file.
-
- --FF_d_i_r Use font directory _d_i_r instead of
- /sprite/lib/ditroff. This overrides the (fd)
- characteristic if it is set in the _d_i_t_c_a_p file.
-
- --DD_e_n_t Use the ditcap entry for _e_n_t , rather than the
-
-
-
- Sprite v1.0 1
-
-
-
-
-
-
- DITROFF User Commands DITROFF
-
-
-
- ditcap entry for _d_e_v . Thus the ditcap characteris-
- tics are read from the ditcap entry _e_n_t , and the
- output is sent to _d_e_v .
-
- --tt Send the troff_p output to standard output. If the
- (ft) characteristic is set in the ditcap file, then
- pass the output through this filter before sending
- it to standard output.
-
- --aa Send a printable ASCII approximation of the results
- to the standard output. If the (fa) characteristic
- is set in the ditcap file, then pass the output
- through this filter before sending it to standard
- output.
-
- --oo_l_i_s_t Print only pages whose page numbers appear in the
- comma-separated _l_i_s_t of numbers and ranges. A range
- _N--_M means pages _N through _M; an initial -_N means
- from the beginning to page _N; and a final _N- means
- from _N to the end.
-
- --nn_N Number first generated page _N.
-
- --mm_n_a_m_e Prepend the macro file //sspprriittee//lliibb//ddiittrrooffff//ttmmaacc.._n_a_m_e
- to the input _f_i_l_e_s.
-
- --rr_a_N Set register _a (one-character) to _N.
-
- --ii Read standard input after the input files are
- exhausted.
-
- --qq Disable echoing during a ..rrdd request.
-
- --ddeebbuugg Print the lines that ditroff would run, rather than
- making system calls.
-
- Preprocessing options:
-
- --ttbbll Pipe through tbl.
-
- --eeqqnn Pipe through eqn.
-
- --sseeqqnn Pipe through eqn using the special characters (in
- /sprite/lib/ditroff/eqnxxxxx).
-
- --ggrrnn Pipe through grn.
-
- --ppiicc Pipe through pic.
-
- --rreeffeerr Pipe through refer.
-
- --iiddeeaall Pipe through ideal.
-
-
-
- Sprite v1.0 2
-
-
-
-
-
-
- DITROFF User Commands DITROFF
-
-
-
- Spooling options:
-
- --hh Don't print the burst page.
-
- --mm Send mail upon completion of the printing job.
-
- --CC_n_a_m_e Set the classname on the burst page to _n_a_m_e .
-
- --JJ_n_a_m_e Set the jobname on the burst page to _n_a_m_e .
-
- --##_N Print _N copies of the job.
-
- Some options of _t_r_o_f_f only apply if you have a C/A/T
- typesetter attached to your system. These options are here
- for historical reasons:
-
- --ss_N Stop every _N pages. _t_r_o_f_f stops the phototypesetter
- every _N pages, produces a trailer to allow changing
- cassettes, and resumes when the typesetter's start but-
- ton is pressed.
-
- --ff Refrain from feeding out paper and stopping photo-
- typesetter at the end of the run.
-
- --ww Wait until phototypesetter is available, if currently
- busy.
-
- --bb Report whether the phototypesetter is busy or avail-
- able. No text processing is done.
-
- --ppN Print all characters in point size _N while retaining
- all prescribed spacings and motions, to reduce photo-
- typesetter elapsed time.
-
- PPRROOCCEESSSSIINNGG
- The following details are only important to the user who
- wants to set the environment variable DITCAP and change
- ditcap entries.
- The details of how files are processed is as follows:
- ( (xx) indicates ditcap characteristics and [ ] indicates
- optional parts )
-
- First all files are run through the preprocessors specified.
- (we show all preprocessors, but only a few would be used
- together) The first processor receives all the files as
- input - note that this could be troff_p. This part of the
- command line is assembled as follows.
-
- PRE = refer SFILES | tbl | grn TYFT | \
- pic TYFT | ideal TYFT | eqn TYFT |
-
- Where SFILES = "[(se)] files" the (se) string being
-
-
-
- Sprite v1.0 3
-
-
-
-
-
-
- DITROFF User Commands DITROFF
-
-
-
- prepended if the --sseeqqnn option is selected and if the
- (se) characteristic is specified in the ditcap file.
- And TYFT = " -T _t_y_p [-F _d_i_r ] " _t_y_p is either speci-
- fied in the ditcap file (ty), or using the --TT option;
- _d_i_r is used if it is specified by the -_F option or if
- the (fd) characteristic is specified in the ditcap
- file.
-
- NOTE: The preprocessors above and troff_p below would be
- the default ones given in the ditcap(5) documenta-
- tion, unless appropriate ditcap characteristic are
- specified in the ditcap file.
-
- I Standard troff job directed to a printer (-a , -t
- options not set)
-
- % PRE troff_p TYFT [(ol)] [troff options] \
- [ | (f1) ] [ | (f2) ] [ | (f3) ] [ | (f4) ] \
- | lpr -Pdev [spooling options] [(lo)]
-
- II Using a previewer (as specified in the ditcap file)
-
- % PRE troff_p TYFT [(op)] [troff options] \
- [ | (fp) ] > /tmp/dit$$
-
- % (pv) /tmp/dit$$
-
- % /bin/rm -f /tmp/dit$$
-
- III Using the -t option
-
- % PRE troff_p TYFT -t [(ot)] [troff options] \
- [ | (ft) ] > standard output
-
- IV Using the -a option
-
- % PRE troff_p TYFT -a [(oa)] [troff options] \
- [ | (fa) ] > standard output
-
-
-
- FFIILLEESS
- /sprite/lib/ditroff/ditcap printer specific info
- /sprite/lib/ditroff/tmac.* standard macro files
- /sprite/lib/ditroff/dev* font width tables
-
- BBUUGGSS
- The --FF option is not very useful since the same directory
- must be available on the machine that drives the printer.
-
- SSEEEE AALLSSOO
- ditcap(5)
-
-
-
- Sprite v1.0 4
-
-
-
-
-
-
- DITROFF User Commands DITROFF
-
-
-
- trchange(1) for a list of differences, in _d_i_t_r_o_f_f, to TROFF
- commands
- J. F. Ossanna, _N_r_o_f_f/_T_r_o_f_f _u_s_e_r'_s _m_a_n_u_a_l
- B. W. Kernighan, _A _T_R_O_F_F _T_u_t_o_r_i_a_l
- eqn(1), grn(1), ideal(1), pic(1), refer(1),
- tbl(1), dterm(1), lpr(1), font(1)
-
- AAUUTTHHOORR
- Greg Heinzinger
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sprite v1.0 5
-
-
-
-